bitkeeper revision 1.1527.2.1 (429368a2F0SR4yrzuHsrRucuwriYqA)
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Tue, 24 May 2005 17:47:14 +0000 (17:47 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Tue, 24 May 2005 17:47:14 +0000 (17:47 +0000)
commit23999c8bc1e94a98dbf1a920c58c1720528a2ab3
treef43d534b5798b3d6d419df5e181763c7df147757
parente8968bea9c93d8a475813d02957d05078dfa837f
bitkeeper revision 1.1527.2.1 (429368a2F0SR4yrzuHsrRucuwriYqA)

Implement the parts of vm save which need interaction with xend
as part of xend, instead of using xfrd.
Execute xc_linux_save in a seperate process so that it can't
crash xend.  Also handle errors passed from xc_linux_save.
xen_domain.c:
  Disable save in xfrd.
xc_save.c:
  new file
Makefile:
  Add xc_save.
XendDomainInfo.py:
  Add suspended state and threading Condition with notification, allowing
  easy waiting for state changes.
XendDomain.py:
  Implement the parts of vm save which need interaction with xend
  as part of xend, instead of using xfrd.  Set state to "suspended"
  when detecting a suspended domain.
  Fix reading output from subprocesses.
  Fix ValueError in xen_domain().
xc.c:
  Remove python binding for xc_linux_save.
xc_linux_save.c:
  Implement the parts of vm save which need interaction with xend
  as part of xend, instead of using xfrd.  Also run xc_linux_save
  in a seperate process.
xc_linux_restore.c:
  Flush output so that xend picks it up timely.
  Also disable debug output again.
xc.h:
  Update xc_linux_save prototype and fix comments for xc_linux_{save,restore}.
ignore:
  Add tools/xcutils/xc_save.
xpopen.py:
  Exit with 127 if exec fails.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
12 files changed:
.rootkeys
BitKeeper/etc/ignore
tools/libxc/xc.h
tools/libxc/xc_linux_restore.c
tools/libxc/xc_linux_save.c
tools/python/xen/lowlevel/xc/xc.c
tools/python/xen/util/xpopen.py
tools/python/xen/xend/XendDomain.py
tools/python/xen/xend/XendDomainInfo.py
tools/xcutils/Makefile
tools/xcutils/xc_save.c [new file with mode: 0644]
tools/xfrd/xen_domain.c